HelloPrint\Inc\Base\Controllers\Admin\OrderController D

Total Complexity 172
Dependencies 8
Dependents 2
Total lines 932
Lines of code 793
Logical lines of code 465
Comment lines 37
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
update_order_status()
D
29
32 126
add_order_item()
C
28
20 138
load_preset_files()
A
36 13 82
get_product_attribute_for_order()
A
41 13 54
upload_order_item_file()
A
41 13 53
copy_files_for_old_datas()
A
47 9 35
update_order_item_status()
A
49 9 28
action_woocommerce_admin_order_item_values()
A
50 8 28
add_helloprint_submit_option()
A
51 8 26
add_order_status_to_order_notes()
S
53 7 21
update_order_item_presets()
S
48 5 35
_send_customer_email()
S
48 5 30
change_woocommerce_order_number()
S
54 5 20
helloprint_order_item_option()
S
66 5 7
remove_helloprint_order_file()
S
54 3 21
update_order_after_shipped()
S
56 3 17
hide_my_item_meta()
S
65 4 8
register()
S
49 2 30
is_wc_order_hpos_enabled()
S
70 2 7
update_item_files()
S
63 2 10
_render_submit_order_box()
S
78 1 3
helloprint_product_order_modal()
S
65 1 8
add_product_button()
S
78 1 3
prevent_order_status_change_email()
S
78 1 3